package com.matt.repository.base;

import com.matt.foundation.query.ChildrenQuery;
import com.matt.foundation.vo.children.ChildrenBaseInfoVo;
import com.matt.foundation.vo.children.WebChildrenVo;

import java.util.List;
import java.util.Map;

/**
 * *******************************
 * Created by lch.
 * form com.matt
 * on 2018/11/20
 * *******************************
 */
public interface ChildrenNativeRepository {

    Long findCountByQueryNew(ChildrenQuery query);

    List<WebChildrenVo> findByQuery(ChildrenQuery query);

    List<WebChildrenVo> findByQueryNew(ChildrenQuery query,boolean paged);

    Long findCountByQuery(ChildrenQuery query);

    List<ChildrenBaseInfoVo> getByClassesId(String classesId);
    
    int findEarlyPlanCourseNumByChildrenId(String childrenId);

    Map<String, Integer> findEarlyPlanCourseNumByChildrenIds(List<String> childrenIds);
}
